package cn.zt.service.impl;

import cn.zt.dto.ResultDTO;
import cn.zt.model.User;
import cn.zt.util.MD5Util;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @Author: zt
 * @Date: 2020/5/29 11:07
 */
public class A {


    @ApiOperation("注册接口")
    @GetMapping("/regist")
    public ResultDTO regist(User user) {


        try {



        } catch (Exception e) {
            return ResultDTO.isFail(e).data("");
        }

        return ResultDTO.isOk().data("");

    }
}
